<?php
require_once '../snoopy/Snoopy.class.php';
require_once "pattern.php";
$snoopy = new Snoopy ();
// 获取flowid的地址
// $url = "http://www.pingan.com/ebusiness/auto/newness/index.do?provinceCode=110000&cityCode=110100";
// $snoopy->fetch ( $url );
// $time = date ( "YmdHis", time () ); // 20120523231327
// file_put_contents ( "tmp/$time.html", $snoopy->results );
// preg_match_all ( $flowidPattern, $snoopy->results, $matches );
// // print_r($matches);
// $flowid = $matches [1] [0];
// $flowidStr = "flowid=$flowid";
// echo $flowidStr;
?>
<link href="../images/skin.css" rel="stylesheet" type="text/css" />
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
#container{ padding:20px;}
#container table{
	border-style:dashed;
	border-color: #d3a4ff;
}
#container table tr{
	
	border-bottom: medium;
}
</style>
<body>
	<div id="container">
	<form action="step2.php?flowid=<?php echo $flowid;?>" method="GET">
		<table>
			<tr>
				<td>车牌号码</td>
				<td><input type="text" name="vehicle.licenseNo" value=""/></td>
				<td><img src="images/geshi.jpg"/></td>
			</tr>
			<tr>
				<td>注册登记日期</td>
				<td><input type="text" name="firstRegisterYear" value=""/>年<input type="text" name="firstRegisterMonth" value=""/>月</td>
				<td><img src="images/reg_date.jpg"/></td>
			</tr>
			<tr>
				<td>联系人手机</td>
				<td><input type="text" name="insured.mobile" value=""/></td>
				<td></td>
			</tr>
			<tr>
				<td>Email</td>
				<td><input type="text" name="insured.email" value=""/></td>
				<td></td>
			</tr>
			<tr>
				<td colspan="3"><input type="submit" name="submit" value="提交" /></td>
			</tr>
		</table>
		</form>
	</div>
</body>
